/*
 *  Vertex.c
 *  EidoTron
 *
 *  Created by Luca Di Franco on 09/03/11.
 *  Copyright 2011 Luca Di Franco. All rights reserved.
 *
 */

#include "Vertex.h"

#include <math.h>

float verticesDistance(Vertex v1, Vertex v2)
{
	return fabs(sqrtf(powf(v2.x-v1.x, 2) + powf(v2.y-v1.y, 2) + powf(v2.z-v1.z, 2)));
}